import Vue from "vue";
import Router from "vue-router";

Vue.use(Router);

import HelloPage from './components/HelloWorld.vue'
import IndexPage from './views/index'
const router = new Router({
    mode: "history",
    routes: [
        {
            path: "/",
            name: "home",
            component: IndexPage,
        },
        {
            path: "/hello",
            name: "hello",
            component: HelloPage,
        },
    ],
});


export default router;